<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>交运列表</title><body class="withvernav">
<style type="text/css">
	thead tr th{
		vertical-align: middle;background-color: #CCCCCC; border: 1px solid #000000 !important ; text-align: center;
	}
</style>
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
  <div class="centercontent">
    <div class="pageheader notab">
      <h1 class="pagetitle">FBA订单月收入报表</h1>
     
</div>
<!--pageheader-->
    
    <div id="contentwrapper" class="contentwrapper">
      <div id="basicform" class="subcontent">
          <!--搜索栏-->
           
    <form class="stdform stdform2" method="get" action="/report/sellGoodSearch">
      <div class="tableoptions">
      开始时间：
       <input type="text"  name="starttime" value="{{$starttime}}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" /> - <input type="text"  name="endtime" value="{{$endtime}}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" />       <span style="display:none">所属平台: 
       <select id="platform" name="platform">
            <option value="">-请选择-</option>
            <option value="ebay">ebay</option>
            <option value="Amazon">Amazon</option>
            <option value="1号店">1号店</option>
            <option value="淘宝">淘宝</option>
            <option value="Tmall">Tmall</option>
            <option value="ioffer">ioffer</option>
        </select>
       &nbsp;&nbsp;</span>
        <button class="btn btn_orange btn_search radius50">Search</button>
         &nbsp;  &nbsp;</div>
    </form>
    <!--搜索栏结束-->

             <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
          
            <thead>
              <tr>
                <th>时间</th>
                <th>交易金额</th>
                <th>实际运费</th>
                <th>小计</th>
                <th>商品成本</th>
                <th>商品销量</th>
                <th>订单数量</th>
                <th>毛利</th>
                <th>毛利率</th>
              </tr>
            </thead>
          
             {{foreach from=$list item=res key=key}}
             <tr>
               <td height="20" align="center">{{$key+1}}</td>
               <td height="20" align="center">{{$res.dates}}</td>
               <td height="20" align="right">{{$res.goods_amount_total + $res.shipping_fee_total}}</td>
               <td height="20" align="right">{{$res.costprice_total+$res.platform_fee_total + $res.payfee_total+$res.realfee}}</td>
               <td height="20" align="right">{{$res.goods_amount_total+ $res.shipping_fee_total-$res.costprice_total-$res.platform_fee_total-$res.payfee_total-$res.realfee}}</td>
               <td height="20" align="right">{{$res.order_total}}</td>
               <td align="right">&nbsp;</td>
               <td height="20" align="right">{{$res.goods_number_total}}</td>
               <td height="20" align="right">{{$res.maoliv}}%</td>
               </tr>
            {{/foreach}}
          </table>
      </div></div>

</body>
</html>